package com.happiness.gateway.config.swagger;

import cn.hutool.extra.spring.SpringUtil;
import com.happiness.base.properties.JwtSecurityProperties;
import com.happiness.base.properties.SwaggerProperties;
import io.swagger.models.auth.In;
import org.springframework.boot.SpringBootVersion;
import org.springframework.context.ApplicationContext;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.service.*;
import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spi.service.contexts.SecurityContext;
import springfox.documentation.spring.web.plugins.Docket;

/**
 * Swagger配置信息
 * 实现createRestApi
 * 要引用需要加上注释
 *
 * @EnableOpenApi
 * @Configuration
 */
public interface SwaggerConfiguration {


    /**
     * swagger创建Docker
     * */
    Docket createRestApi();



}
